{{$slug = null}}{{$slug2 = null}}
{{if $value|default}}
{{foreach $value as $v}}
{{if $slug ne $v->category_type}}
{{if $slug}}
</select>
</td>
</tr>
{{/if}}
{{$slug = $v->category_type}}
<tr>
<th>{{$v->name}}</th>
<td>
<select name="_{{$v->slug}}">
{{/if}}
<option value="{{$v->category_id}}">{{$v->note}}</option>
{{/foreach}}
</select>
</td>
</tr>
{{/if}}
